API Documentation
Public Member Functions | Public Attributes | List of all members
nkGraphics::DecodedMeshData Struct Referencefinal

Holds data about a decoded mesh. More...

Public Member Functions

 DecodedMeshData ()
 
 DecodedMeshData (const DecodedMeshData &other)
 
 DecodedMeshData (DecodedMeshData &&other)
 
 ~DecodedMeshData ()
 
DecodedMeshDataoperator= (const DecodedMeshData &other)
 
DecodedMeshDataoperator= (DecodedMeshData &&other)
 

Public Attributes

nkMemory::BufferCast< nkMemory::Buffer_vertexBuffers
 List of vertex buffers, binary packed.
 
nkMemory::Buffer _indexBuffer
 The index buffer, if available.
 
MeshInputLayout _inputLayout
 The input layout describing the vertex data.
 
unsigned int _vertexCount = 0u
 The number of vertices available.
 
unsigned int _indexCount = 0u
 The number of indices available.
 
INDEX_FORMAT _indexFormat = nkGraphics::INDEX_FORMAT::UINT32
 The indices format in memory.
 

Detailed Description

Holds data about a decoded mesh.

Constructor & Destructor Documentation

◆ DecodedMeshData() [1/3]

nkGraphics::DecodedMeshData::DecodedMeshData ( )

Default constructor.

◆ DecodedMeshData() [2/3]

nkGraphics::DecodedMeshData::DecodedMeshData ( const DecodedMeshData other)

Copy constructor.

Parameters
otherThe data to copy from.

◆ DecodedMeshData() [3/3]

nkGraphics::DecodedMeshData::DecodedMeshData ( DecodedMeshData &&  other)

Move constructor.

Parameters
otherThe data to move over.

◆ ~DecodedMeshData()

nkGraphics::DecodedMeshData::~DecodedMeshData ( )

Destructor.

Member Function Documentation

◆ operator=() [1/2]

DecodedMeshData& nkGraphics::DecodedMeshData::operator= ( const DecodedMeshData other)

Assignment copy operator.

Parameters
otherThe data to copy from.

◆ operator=() [2/2]

DecodedMeshData& nkGraphics::DecodedMeshData::operator= ( DecodedMeshData &&  other)

Assignment move operator.

Parameters
otherThe data to move over.

The documentation for this struct was generated from the following file: